home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 2.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 27 00 00 00 00 00 00 | 00 27 61 32 44 32 00 00 |.'......|.'a2D2..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0d 53 74 61 67 67 | 65 72 57 69 6e 64 6f 77 |...Stagg|erWindow|
|00000060| 00 00 06 00 00 00 00 00 | a7 00 00 00 00 00 00 00 |........|........|
|00000070| a7 00 00 00 14 03 c1 00 | 28 05 7e 00 ff 00 00 00 |........|(.~.....|
|00000080| 00 00 00 0f a8 00 00 00 | 00 4e 1c 00 00 00 09 00 |........|.N......|
|00000090| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|000000a0| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 10 6b 53 |........|....@.kS|
|000000b0| 63 72 65 65 6e 41 50 49 | 2f 31 39 39 39 36 00 06 |creenAPI|/19996..|
|000000c0| 47 65 6e 65 76 61 00 00 | 4d 52 65 63 74 20 53 74 |Geneva..|MRect St|
|000000d0| 61 67 67 65 72 57 69 6e | 64 6f 77 28 57 69 6e 64 |aggerWin|dow(Wind|
|000000e0| 6f 77 50 74 72 20 77 69 | 6e 64 6f 77 2c 20 57 69 |owPtr wi|ndow, Wi|
|000000f0| 6e 64 6f 77 50 74 72 20 | 72 65 6c 61 74 65 64 57 |ndowPtr |relatedW|
|00000100| 69 6e 64 6f 77 2c 20 52 | 65 63 74 20 73 69 7a 65 |indow, R|ect size|
|00000110| 49 6e 66 6f 29 3b 00 00 | 00 06 00 00 00 00 00 9a |Info);..|........|
|00000120| 00 00 00 00 00 00 00 9a | 00 00 00 00 03 c1 00 14 |........|........|
|00000130| 05 7e 00 ff 00 00 00 00 | 00 00 0f a8 00 00 00 00 |.~......|........|
|00000140| 4e 1d 00 00 00 09 00 00 | 00 04 00 04 ff fc ff fa |N.......|........|
|00000150| 00 04 00 04 ff fc ff fc | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 83 00 0b 40 14 6b 53 63 | 72 65 65 6e 4f 6e 65 4c |...@.kSc|reenOneL|
|00000170| 69 6e 65 2f 31 39 39 39 | 37 00 06 47 65 6e 65 76 |ine/1999|7..Genev|
|00000180| 61 00 00 3c 53 74 61 67 | 67 65 72 20 74 68 65 20 |a..<Stag|ger the |
|00000190| 77 69 6e 64 6f 77 20 6f | 6e 20 74 68 65 20 73 61 |window o|n the sa|
|000001a0| 6d 65 20 64 65 76 69 63 | 65 20 61 73 20 74 68 65 |me devic|e as the|
|000001b0| 20 72 65 6c 61 74 65 64 | 20 77 69 6e 64 6f 77 2e | related| window.|
|000001c0| 00 00 00 06 00 00 00 00 | 00 44 00 00 00 00 00 00 |........|.D......|
|000001d0| 00 44 00 00 00 00 02 6b | 04 40 02 6c 01 00 00 00 |.D.....k|.@.l....|
|000001e0| 00 00 00 01 0f f1 00 00 | 00 00 00 00 00 00 00 0c |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 06 | 00 00 00 00 00 6b 00 00 |........|.....k..|
|00000220| 00 00 00 00 00 6b 00 00 | 00 00 02 6b 02 28 03 c1 |.....k..|...k.(..|
|00000230| 00 ff 00 00 00 00 00 00 | 0f a8 00 00 00 00 4e 16 |........|......N.|
|00000240| 00 00 00 09 00 00 00 04 | 00 04 ff fc ff fa 00 04 |........|........|
|00000250| 00 04 ff fc ff fc 00 00 | 00 00 00 00 00 00 83 00 |........|........|
|00000260| 0b 40 0b 6c 69 6e 6b 73 | 2f 31 39 39 39 30 00 06 |.@.links|/19990..|
|00000270| 4d 6f 6e 61 63 6f 00 00 | 00 00 16 00 01 00 00 00 |Monaco..|........|
|00000280| 00 00 10 00 0c 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 06 00 00 00 00 06 | 80 00 00 00 00 00 00 06 |........|........|
|000002a0| 80 00 00 00 00 00 00 75 | 30 02 6b 01 ff 00 00 00 |.......u|0.k.....|
|000002b0| 00 00 00 0f a8 00 00 00 | 00 4e 1f 00 00 00 09 00 |........|.N......|
|000002c0| 00 00 04 00 04 ff fc ff | fa 00 04 00 04 ff fc ff |........|........|
|000002d0| fc 00 00 00 00 00 00 00 | 00 83 00 0b 40 0a 62 6f |........|....@.bo|
|000002e0| 64 79 2f 31 39 39 39 39 | 00 06 4d 6f 6e 61 63 6f |dy/19999|..Monaco|
|000002f0| 00 06 16 52 65 63 74 20 | 53 74 61 67 67 65 72 57 |...Rect |StaggerW|
|00000300| 69 6e 64 6f 77 28 57 69 | 6e 64 6f 77 50 74 72 20 |indow(Wi|ndowPtr |
|00000310| 77 69 6e 64 6f 77 2c 20 | 57 69 6e 64 6f 77 50 74 |window, |WindowPt|
|00000320| 72 20 72 65 6c 61 74 65 | 64 57 69 6e 64 6f 77 2c |r relate|dWindow,|
|00000330| 20 52 65 63 74 20 73 69 | 7a 65 49 6e 66 6f 29 3b | Rect si|zeInfo);|
|00000340| 0d 0d 20 20 20 20 46 69 | 6c 65 3a 20 55 74 69 6c |.. Fi|le: Util|
|00000350| 69 74 69 65 73 2e 68 0d | 0d 49 4e 50 55 54 3a 20 |ities.h.|.INPUT: |
|00000360| 20 77 69 6e 64 6f 77 20 | 20 20 20 20 20 20 20 20 | window | |
|00000370| 20 20 20 20 20 57 69 6e | 64 6f 77 20 74 6f 20 73 | Win|dow to s|
|00000380| 74 61 67 67 65 72 2e 0d | 20 20 20 20 20 20 20 20 |tagger..| |
|00000390| 72 65 6c 61 74 65 64 57 | 69 6e 64 6f 77 20 20 20 |relatedW|indow |
|000003a0| 20 20 20 20 57 69 6e 64 | 6f 77 20 74 6f 20 22 66 | Wind|ow to "f|
|000003b0| 6f 6c 6c 6f 77 22 20 77 | 68 65 6e 20 73 74 61 67 |ollow" w|hen stag|
|000003c0| 67 65 72 69 6e 67 2e 0d | 20 20 20 20 20 20 20 20 |gering..| |
|000003d0| 73 69 7a 65 49 6e 66 6f | 20 20 20 20 20 20 20 20 |sizeInfo| |
|000003e0| 20 20 20 20 4d 69 6e 20 | 61 6e 64 20 6d 61 78 20 | Min |and max |
|000003f0| 73 69 7a 65 73 20 66 6f | 72 20 74 68 65 20 77 69 |sizes fo|r the wi|
|00000400| 6e 64 6f 77 2e 0d 20 20 | 20 20 20 20 20 20 20 20 |ndow.. | |
|00000410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000420| 20 20 73 69 7a 65 49 6e | 66 6f 2e 74 6f 70 20 20 | sizeIn|fo.top |
|00000430| 20 20 3d 20 4d 69 6e 69 | 6d 75 6d 20 68 65 69 67 | = Mini|mum heig|
|00000440| 68 74 20 6f 66 20 77 69 | 6e 64 6f 77 2e 0d 20 20 |ht of wi|ndow.. |
|00000450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 73 69 7a 65 49 6e | | sizeIn|
|00000470| 66 6f 2e 6c 65 66 74 20 | 20 20 3d 20 4d 69 6e 69 |fo.left | = Mini|
|00000480| 6d 75 6d 20 77 69 64 74 | 68 20 6f 66 20 77 69 6e |mum widt|h of win|
|00000490| 64 6f 77 2e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |dow.. | |
|000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004b0| 20 73 69 7a 65 49 6e 66 | 6f 2e 62 6f 74 74 6f 6d | sizeInf|o.bottom|
|000004c0| 20 3d 20 4d 61 78 69 6d | 75 6d 20 68 65 69 67 68 | = Maxim|um heigh|
|000004d0| 74 20 6f 66 20 77 69 6e | 64 6f 77 2e 0d 20 20 20 |t of win|dow.. |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004f0| 20 20 20 20 20 20 20 20 | 20 73 69 7a 65 49 6e 66 | | sizeInf|
|00000500| 6f 2e 72 69 67 68 74 20 | 20 3d 20 4d 61 78 69 6d |o.right | = Maxim|
|00000510| 75 6d 20 77 69 64 74 68 | 20 6f 66 20 77 69 6e 64 |um width| of wind|
|00000520| 6f 77 2e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ow.. | |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000540| 20 20 20 20 49 66 20 61 | 6e 79 20 6f 66 20 74 68 | If a|ny of th|
|00000550| 65 20 61 62 6f 76 65 20 | 73 69 7a 65 49 6e 66 6f |e above |sizeInfo|
|00000560| 20 66 69 65 6c 64 73 20 | 61 72 65 20 30 2c 20 74 | fields |are 0, t|
|00000570| 68 65 6e 20 74 68 61 74 | 20 66 69 65 6c 64 0d 20 |hen that| field. |
|00000580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 68 | | h|
|000005a0| 61 73 20 6e 6f 20 65 66 | 66 65 63 74 20 6f 6e 20 |as no ef|fect on |
|000005b0| 6c 69 6d 69 74 69 6e 67 | 20 74 68 65 20 63 68 61 |limiting| the cha|
|000005c0| 6e 67 65 2e 0d 0d 54 68 | 69 73 20 61 6c 67 6f 72 |nge...Th|is algor|
|000005d0| 69 74 68 6d 20 66 6f 72 | 20 73 74 61 67 67 65 72 |ithm for| stagger|
|000005e0| 69 6e 67 20 77 69 6e 64 | 6f 77 73 20 64 6f 65 73 |ing wind|ows does|
|000005f0| 20 71 75 69 74 65 20 61 | 20 67 6f 6f 64 20 6a 6f | quite a| good jo|
|00000600| 62 2e 20 20 49 74 20 61 | 6c 73 6f 20 69 73 20 71 |b. It a|lso is q|
|00000610| 75 69 74 65 20 67 6e 61 | 72 6c 79 2e 0d 48 65 72 |uite gna|rly..Her|
|00000620| 65 27 73 20 74 68 65 20 | 64 65 61 6c 3a 0d 0d 54 |e's the |deal:..T|
|00000630| 68 65 72 65 20 61 72 65 | 20 70 72 65 2d 64 65 73 |here are| pre-des|
|00000640| 69 67 6e 61 74 65 64 20 | 70 6f 73 69 74 69 6f 6e |ignated |position|
|00000650| 73 20 74 68 61 74 20 77 | 65 20 77 69 6c 6c 20 74 |s that w|e will t|
|00000660| 72 79 20 77 68 65 6e 20 | 70 6f 73 69 74 69 6f 6e |ry when |position|
|00000670| 69 6e 67 20 61 20 77 69 | 6e 64 6f 77 2e 20 20 54 |ing a wi|ndow. T|
|00000680| 68 65 73 65 20 73 6c 6f | 74 73 20 77 69 6c 6c 0d |hese slo|ts will.|
|00000690| 62 65 20 74 72 69 65 64 | 20 66 72 6f 6d 20 74 68 |be tried| from th|
|000006a0| 65 20 75 70 70 65 72 2d | 6c 65 66 74 20 63 6f 72 |e upper-|left cor|
|000006b0| 6e 65 72 20 74 6f 77 61 | 72 64 73 20 74 68 65 20 |ner towa|rds the |
|000006c0| 6c 6f 77 65 72 2d 72 69 | 67 68 74 20 63 6f 72 6e |lower-ri|ght corn|
|000006d0| 65 72 2e 20 20 49 66 20 | 74 68 65 72 65 20 61 72 |er. If |there ar|
|000006e0| 65 20 6f 74 68 65 72 20 | 77 69 6e 64 6f 77 73 0d |e other |windows.|
|000006f0| 69 6e 20 74 68 61 74 20 | 73 6c 6f 74 2c 20 74 68 |in that |slot, th|
|00000700| 65 6e 20 77 65 20 77 69 | 6c 6c 20 63 6f 6e 73 69 |en we wi|ll consi|
|00000710| 64 65 72 20 74 68 61 74 | 20 73 6c 6f 74 20 74 61 |der that| slot ta|
|00000720| 6b 65 6e 2c 20 61 6e 64 | 20 70 72 6f 63 65 65 64 |ken, and| proceed|
|00000730| 20 74 6f 20 74 68 65 20 | 6e 65 78 74 20 73 6c 6f | to the |next slo|
|00000740| 74 2e 20 20 41 20 73 6c | 6f 74 20 69 73 0d 64 65 |t. A sl|ot is.de|
|00000750| 74 65 72 6d 69 6e 65 64 | 20 74 6f 20 62 65 20 74 |termined| to be t|
|00000760| 61 6b 65 6e 20 62 79 20 | 63 68 65 63 6b 69 6e 67 |aken by |checking|
|00000770| 20 61 20 70 6f 69 6e 74 | 20 77 69 74 68 20 61 20 | a point| with a |
|00000780| 73 6c 6f 70 20 61 72 65 | 61 2e 20 20 54 68 69 73 |slop are|a. This|
|00000790| 20 73 6c 6f 70 20 61 72 | 65 61 20 69 73 20 64 69 | slop ar|ea is di|
|000007a0| 61 6d 6f 6e 64 2d 73 68 | 61 70 65 64 2c 0d 6e 6f |amond-sh|aped,.no|
|000007b0| 74 20 73 69 6d 70 6c 79 | 20 72 65 63 74 61 6e 67 |t simply| rectang|
|000007c0| 75 6c 61 72 2e 20 20 49 | 66 20 74 68 65 72 65 20 |ular. I|f there |
|000007d0| 69 73 20 6e 6f 20 6f 74 | 68 65 72 20 76 69 73 69 |is no ot|her visi|
|000007e0| 62 6c 65 20 77 69 6e 64 | 6f 77 20 77 69 74 68 20 |ble wind|ow with |
|000007f0| 61 6e 20 75 70 70 65 72 | 2d 6c 65 66 74 20 63 6f |an upper|-left co|
|00000800| 72 6e 65 72 20 77 69 74 | 68 69 6e 20 74 68 65 0d |rner wit|hin the.|
|00000810| 73 6c 6f 70 20 64 69 61 | 6d 6f 6e 64 2c 20 74 68 |slop dia|mond, th|
|00000820| 65 6e 20 77 65 20 61 72 | 65 20 61 6c 6c 6f 77 65 |en we ar|e allowe|
|00000830| 64 20 74 6f 20 70 6f 73 | 69 74 69 6f 6e 20 6f 75 |d to pos|ition ou|
|00000840| 72 20 77 69 6e 64 6f 77 | 20 74 68 65 72 65 2e 20 |r window| there. |
|00000850| 20 54 68 65 20 61 62 6f | 76 65 20 72 75 6c 65 20 | The abo|ve rule |
|00000860| 68 6f 6c 64 73 20 74 72 | 75 65 20 75 6e 6c 65 73 |holds tr|ue unles|
|00000870| 73 0d 74 68 69 73 20 66 | 6f 72 63 65 73 20 74 68 |s.this f|orces th|
|00000880| 65 20 77 69 6e 64 6f 77 | 20 74 6f 20 62 65 20 70 |e window| to be p|
|00000890| 61 72 74 6c 79 20 6f 66 | 66 20 74 68 65 20 73 63 |artly of|f the sc|
|000008a0| 72 65 65 6e 2e 20 20 49 | 66 20 74 68 65 20 77 69 |reen. I|f the wi|
|000008b0| 6e 64 6f 77 20 65 6e 64 | 73 20 75 70 20 70 61 72 |ndow end|s up par|
|000008c0| 74 6c 79 20 6f 66 66 20 | 74 68 65 20 73 63 72 65 |tly off |the scre|
|000008d0| 65 6e 2c 0d 74 68 65 6e | 20 77 65 20 67 69 76 65 |en,.then| we give|
|000008e0| 20 75 70 20 61 6e 64 20 | 6a 75 73 74 20 70 75 74 | up and |just put|
|000008f0| 20 69 74 20 69 6e 20 74 | 68 65 20 66 69 72 73 74 | it in t|he first|
|00000900| 20 73 6c 6f 74 2e 0d 0d | 0d 00 16 00 01 00 00 00 | slot...|........|
|00000910| 00 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |........|........|
|00000920| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+